Developer --> Technical Publications
PATHHardware Documentation > USB Devices > Mac OS USB DDK API Reference


Standard Parameter Block Errors

All of the functions that use the parameter block return errors when a bad value was passed in the parameter block. The standard parameter block errors are listed in Table 4-1.

Table 4-1 Standard parameter block errors

Error constant

Error code

Definition

kUSBPBVersionError -6986 The pbVersion field of the parameter block contains an incorrect version number.
kUSBPBLengthError -6985 The pbLength field of the parameter block contains a value that is smaller than the sizeof(USBPB)
kUSBCompletionError -6984 The usbCompletion pointer is nil or is set to kUSBNoCallBack and the function does not support this behavior
kUSBFlagsError -6983 An unspecified flag has been set


© 1998 Apple Computer, Inc. – (Last Updated 23 Nov 98)

Previous | Back Up One Level | Next |